#include <stdio.h>
#include <math.h>
int maxCount(int m, int n, int** ops, int opsSize, int* opsColSize) {
    int len, wid;
    if (opsSize == 0)
        return m * n;
    len = ops[0][1], wid = ops[0][0];
    for (int i = 1; i < opsSize; i++) {
        len = fmin(len, ops[i][1]);
        wid = fmin(wid, ops[i][0]);
    }
    return len * wid;
}


int main()
{
	return 0;
}